//SPIN BUTTON

$(document).ready(function(){
		$.spin.imageBasePath = './imagens/spin1/';
		$('#spin1').spin();
		$('#spin2').spin({
			interval: 5
		});
		$('#spin3').spin({
			max: 10,
			min: -5
		});
		$('#spin4').spin({
			timeInterval: 250
		});
		$('#spin5').spin({
			interval: 0.01
		});
		$('#spin6').spin({
			lock: true
		});
		$('#spin7').spin({
			beforeChange: function(n,o){
				//$('<div>'+o+' to '+n+'</div>').appendTo($('#console'));
				$('#console').text(o+' to '+n).show().fadeOut(400);
			}
		});
		$('#spin8').spin({
			imageBasePath: './imagens/spin2/'
		});
  });